package com.teach.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.teach.entity.RotationChart;

public interface RotationChartMapper {
    int deleteByPrimaryKey(Long imgId);

    int insert(RotationChart record);

    int insertSelective(RotationChart record);

    RotationChart selectByPrimaryKey(Long imgId);
    
    @Select("SELECT * FROM rotation_chart WHERE img_id is NOT NULL")
    List<RotationChart> selectAll();

    int updateByPrimaryKeySelective(RotationChart record);

    int updateByPrimaryKey(RotationChart record);
}